<!---总览页面真实内容-->
<template>
  <div class="ele-body">
    <a-tabs default-active-key="1" @change="callbackActivityTab">
      <a-tab-pane key="1" tab="版本管理">
        <device-power-monitor-firmware :data="data" />
      </a-tab-pane>
      <a-tab-pane key="2" tab="配置批量分发管理">
        <DevicePowerMonitorFirmwareCommandTemplateDistribute :data="data" />
      </a-tab-pane>
      <a-tab-pane key="3" tab="配置模板管理">
        <DevicePowerMonitorFirmwareConfigTemplate :data="data" />
      </a-tab-pane>
    </a-tabs>
  </div>
</template>

<script>

import DevicePowerMonitorFirmware from './powermonitor-firmware.vue'
import DevicePowerMonitorFirmwareConfigTemplate from './powermonitor-firmware-config-template.vue'
import DevicePowerMonitorFirmwareCommandTemplateDistribute from './powermonitor-firmware-command-template-distribute.vue'
export default {
  name: 'DevicePowerMonitorFirmwareManager',
  components: {
    DevicePowerMonitorFirmware,
    DevicePowerMonitorFirmwareConfigTemplate,
    DevicePowerMonitorFirmwareCommandTemplateDistribute,
  },
  props: {
    data: Object
  },
  data() {
    return {


    };
  },
  methods: {
    callbackActivityTab (index) {
      console.log(index)
    },
  }
};
</script>
